package org.sy.lab.Java7并发编程实战.四线程执行器.八在执行器中取消任务;

import java.util.concurrent.Callable;

public class Task implements Callable<String> {
	@Override
	public String call() throws Exception {
		while(true) {
			System.out.printf("Task: Test\n");
			Thread.sleep(100);
		}
	}
}
